﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Facebook;
using Facebook_Graph_Toolkit;
using Facebook_Graph_Toolkit.GraphApi;

public partial class MasterPage_MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    //protected void linkNewPost_Click(object sender, EventArgs e)
    //{
    //    oAuthFacebook oAuth = new oAuthFacebook();

    //    if (Request["code"] == null)
    //    {
    //        //Redirect the user back to Facebook for authorization.
    //        Response.Redirect(oAuth.AuthorizationLinkGet());
    //    }
    //}

    protected void linkViewAllListing_Click(object sender, EventArgs e)
    {
        Session["Navigation"] = "ViewRentals";
        Response.Redirect("~/Default.aspx?Navigation=ViewRentals");
    }
    protected void imgLogo_Click(object sender, ImageClickEventArgs e)
    {
        Session["Navigation"] = "ViewRentals";
        Response.Redirect("~/Default.aspx?Navigation=ViewRentals");
    }
}
